import request from '@/utils/request'

export function selectTribunalCameraList(data) {
  return request({
    url: '/camera/api/findAllCamera',
    method: 'post',
    data
  })
}

export function updateTribunalCamera(data) {
  return request({
    url: '/camera/api/updateCamera',
    method: 'put',
    data
  })
}

export function addTribunalCamera(data) {
  return request({
    url: '/camera/api/addCamera',
    method: 'post',
    data
  })
}

export function deleteTribunalCamera(data) {
  return request({
    url: '/camera/api/deleteCamera',
    method: 'delete',
    data
  })
}

export function getAllTribunalCameraStates(data) {
  return request({
    url: '/camera/api/getAllTribunalCameraStates',
    method: 'post',
    data
  })
}

